 var prBuildMost_URL = basePath+'/pr/prBuildMost.jsp';//点击方剂出条文界面
 var prHCCompareMost_URL = basePath+'/pr/prHCCompareMost.jsp';

 var prMostPan = new Ext.Panel({
        plain:true,
        contentEl:'prMostPan',
        bodyStyle:'width:100%;',
		autoWidth:true,
        tbar:[new Ext.Button({text:'组成列表',handler:function(){ 
        	//this.setDisabled(true);
     
        		prMostPanLoad(prBuildMost_URL,{fjIds:fjIds});
        	 }}),
        	new Ext.Button({text:'寒热比较',cls:'',handler:function(){ 
        	//this.setDisabled(true);
      			prMostPanLoad(prHCCompareMost_URL,{fjIds:fjIds});
        	
        	 }}),
        	new Ext.Button({text:'清空选择',handler:function(){alert('清空选择');}})
        	],
         defaults:{autoScroll: true,autoHeight: true},
         autoLoad:{url: prBuildMost_URL, params:{fjIds:fjIds},scripts:true},
         autoScroll:true,
        split:true,
        region: 'center',
        layout: 'fit'
		});
		
	new Ext.Panel({
	    renderTo: "content_div_prMostPan",
	    width: '100%',
	    height : Ext.get("content_div_prMostPan").getHeight(),
	    layout: 'border',
	    monitorResize:true,
		split: true, 
	    items: [
		    	{
		        region: 'north',     // position for region
				contentEl: "north_div_prMostPan",
		        height: 100,
		        split:true,// enable resizing
		        minSize: 75,         // defaults to 50 
		        maxSize: 150,
		        autoScroll:true,
		        collapsible: true
		       
		    	},prMostPan]
	});		
		
		
	function prMostPanLoad(url,p){	
		prMostPan.load({
	    url: url,
	    params: p, // or a URL encoded string
	    discardUrl: false,
	    nocache: false,
	    text: "装载...",
	    timeout: 30,
	    scripts: true
		});
	}